<div class="table-tools">
    <p>{$nickname}推广页浏览记录</p>
</div>

<table id="users-table" class="table table-striped table-hover table-condensed datatable">
    <thead>

    <tr id="user_{$user.id}">
        <th width="50px">ID</th>
        <th>昵称</th>
        <th>手机号</th>
        <th>微信号</th>
        <th>所属代理id</th>
        <th>直推人id</th>
        <th>游戏账号</th>
        <th>所属系统</th>
        <th>所属区域</th>
        <th>用户类型</th>
        <th>访问时间</th>
    </tr>
    </thead>
    <tbody>
    <volist name="list" id="user">
        <tr>
            <!--<td width="50px"><input name='id[]' type="checkbox" value="{$user.id}" /></td>-->
            <td class="question-name">{$user.id}</td>
            <td class="question-name">{$user.nickname}</td>
            <td class="question-name">{$user.phone}</td>
            <td class="question-name">{$user.wechat_number}</td>
            <td class="question-name">{$user.last_one}</td>
            <td class="question-name">{$user.recommend_id}</td>
            <td class="question-name">{$user.game_name}</td>
            <td class="question-name">
                <switch name="user.systems_name">
                    <case value="0">
                        安卓
                    </case>
                    <case value="1">
                        IOS
                    </case>
                </switch>
            </td>
            <td class="question-name">
                <switch name="user.region">
                    <case value="0">
                        QQ
                    </case>
                    <case value="1">
                        微信
                    </case>
                </switch>
            </td>
            <td class="question-name" id="user_type_{$user.id}">
                <switch name="user.user_type">
                    <case value="0">
                        普通用户
                    </case>
                    <case value="1">
                        代理
                    </case>
                </switch>
            </td>
            <td class="question-name">{$user.v_time|date='Y-m-d',###}</td>
        </tr>
    </volist>
    </tbody>
</table>
<nav style="float:right">
    <spen class="total">共 {$recordcount}条记录</spen>
    <div class="fr">
        <ul class="pagination">
            <eq name="page['pagenum']" value="1">
                <li class="disabled">
                    <else/>
                <li>
            </eq>
            <a href="#" onclick="gotoPage('1')">«</a></li>
            <foreach name="page.pagenums" item="vo">
                <eq name="page['pagenum']" value="$vo">
                    <li class="active"><a href="#">{$vo}</a></li>
                    <else/>
                    <li><a href="#" onclick="gotoPage('{$vo}')">{$vo}</a></li>
                </eq>
            </foreach>
            <eq name="page['pagenum']" value="$page.endPage">
                <li class="disabled">
                    <else/>
                <li>
            </eq>
            <a href="#" onclick="gotoPage('{$page.totalpage}')">»</a></li>
        </ul>
    </div>
</nav>
<!-- Modal -->
<div class="modal fade" id="my-alert" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title" id="myModalLabel">提示</h4>
            </div>
            <div class="modal-body" id="hint_content">
            </div>
            <div class="modal-footer">
                <button type="button" id="close_btn" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" id="save-change" data-dismiss="modal">确定</button>
            </div>
        </div>
    </div>
</div>
<script src="__PUBLIC__/layer/layer.js"></script>